﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowArmory.Character

    ''' <summary>
    ''' A class containing information about a single talent tree.
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Tree

        ''' <summary>
        ''' A string representing the talent tree's build.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks>This is simply a substring of Character.Talent.Build, containing only information for this talent tree.</remarks>
        Public Property Points As String

        ''' <summary>
        ''' The total number of points allocated to this talent tree.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Total As Integer

        Protected Friend Sub New(strPoints As String, intTotal As Integer)
            Points = strPoints
            Total = intTotal
        End Sub

    End Class

End Namespace
